#include "mathFunctions.h"

float randfloat(){
    return rand()/(float(RAND_MAX)+1);
}
float randfloat(float min, float max){
    if (min>max){
        return randfloat()*(min-max)+max;
    }
    else{
        return randfloat()*(max-min)+min;
    }
}
